package com.example.his.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 就诊记录表
 * </p>
 *
 * @author why
 * @since 2021-01-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("his_medical_record")
public class MedicalRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 就诊记录表ID
     */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    /**
     * 创建时间
     */
    @TableField("create_datetime")
    private String createDatetime;

    /**
     * 主诉
     */
    @TableField("condition_description")
    private String conditionDescription;

    /**
     * 初步诊断结果
     */
    @TableField("diagnosis_result")
    private String diagnosisResult;

    /**
     * 药物总费用
     */
    @TableField("drug_cost")
    private Double drugCost;

    /**
     * 医嘱
     */
    @TableField("medical_order")
    private String medicalOrder;

    /**
     * 处方
     */
    @TableField("prescription")
    private String prescription;

    /**
     * 处方号
     */
    @TableField("prescription_num")
    private String prescriptionNum;

    /**
     * 挂号记录表ID
     */
    @TableField("register_id")
    private String registerId;


}
